<?php
/**
* Description:
* @Author: Tudo<997470395@qq.com>
* @Created: 2015-3-31 下午2:41:05
*/
namespace Home\Controller;
use Think\Controller;
class ChannelController extends Controller {
	public function Index(){
		$channel = M('category')->where(array('status'=>1))->order('sort desc')->limit(20)->select();
		
		$this->assign("channle",$channel);
		$this->display();
	}





}